import request from '../../../../utils/request.ts'


/*顶部操作按钮接口*/
// 保存并发布

export const saveBpmnXml = (data:any) => {
    return request({
        url: '/flowable/definition/save',
        method: 'post',
        data: data
    })
}

// 保存草稿
export const saveBpmnXmlDraft=(query?:any)=> {
    return request({
        url: '/getRouters',
        method: 'get'
    })
}


